added constant printing
cleaned up print of int values