taking out print statements