remove output in main program