removing unessesary print statements