took out print statements