in accordance with the standards of a profession

See: ethical