removed unneccesary print statements