code of practice dismissal and re-engagement