added setInterval call