removing spurious print statements