removed unnecessary print statements