initial structure & setup for timer