uncomment sleep function