What is the problem you are facing.

Have variables that updates based on the timer tick