Solved inheritance problems of timer