codes department