hook up the sleep(3) function (fix #4)