introduced sleep and upgraged to 1.7.1