got rid of uneeded print statements