got rid a lot of the print statements used for debugging