Removed setInterval method