Briefly describe the basic purpose of a code of ethics. Identify the circumstances under which a CPA may not perform professional services on a contingent fee basis. How do these situations affect malpractice liability of the accounting profession?