remove wait for input at the end