remove print statement in main loop