add sleep duration