remove sleep in tutorial