change initialization order for timer