removed unnecesary print statements