added docs for sleep duration