removing unneccessary print statements