Duty to abide by ethical code