Legislation and ethics