class BehaviorMonitor {

   public void bind(final SubsystemContext<CareSubsystemModel> context) {
      context.logger().debug("binding to the behavior monitor");
      context.models().addListener(new Listener<ModelEvent>() {
         public void onEvent(ModelEvent event) {
            if (event instanceof ModelChangedEvent) {
               dispatchEventToEvalutator((ModelChangedEvent) event, context);
            }else if(event instanceof ModelRemovedEvent) {
            	dispatchEventToEvalutator((ModelRemovedEvent) event, context);
            }
         }
      });
      if(context.model().isAlarmModeON()){
         scheduleWindowEnable(context);
      }
   }

}