added a timer demo