Adds timer def
Formatting for timer.