Complying with the codes of practice