taking out print statements that were only there for debugging