Adding class TimedBehavior