before adding timer control