Added 5 second sleep timer