Add timer

Added a timer tick