change codes to code