add template for Timer