begin adding timer event handling