removed unecessary print statements