took out the interval for keepActive since its giving erros in console.