Added the timer. Hope it works