change sleeping time 1s to 3s