implementing and complying with legal and ethical obligations