changed the print statements