CPA optimization