removed two print statements