outputting code number too