Sleep time variable added