made some changes to show a demo of a timer