removed the print statements