make the code an int