removed superfluous print statements