Implemented handleStateTriggerFactory