Added sleep interval