Removed setInterval call from provider