improve style + timer event handling