removed uneeded print statements