update for input sleep time like 0.1 can work too