implemented comparable interface in TimerEvent