anchor.diff:      case call_state_function(S, enter, State, NextState, NewData) of
   	{ok,Result,NewS} ->
   	    case parse_event_result(
  -		   false, Debug, NewS, Result,
  -		   Events, Event, NextState, NewData) of
  +		   false, Debug, NewS, TimerRefs, TimerTypes,
  +		   Events, Event, NextState, NewData, Hibernate, Result) of
   		{NewerData,_,Actions,EnterCall} ->
   		    loop_event_enter_actions(
   		      Parent, Debug, NewS, TimerRefs, TimerTypes,
  
positive.code: 	%% state timeout if the state changes
  	if
  	    NextState =:= State ->
  		{Events,P_1,{TimerRefs_0,TimerTypes_0}};
  	    true ->
  		{lists:reverse(P_1, Events),[],
  		 cancel_timer_by_type(
  
negative.code:     case call_callback_mode(S) of
  	{ok,NewS} ->
  	    TimerRefs = #{},
  	    %% S map key: timer_refs
  	    %% Key: timer ref
  	    %% Value: the timer type i.e the timer's event type
  	    %%
  	    TimerTypes = #{},
  	    %% S map key: timer_types
  	    %% Key: timer type i.e the timer's event type
  	    %% Value: timer ref
  	    %%
  	    loop_event_actions(
  	      Parent, NewDebug, NewS, TimerRefs, TimerTypes,
  	      Events, Event, State, Data, NewActions, true);
  	{Class,Reason,Stacktrace} ->
  	    terminate(
  	      Class, Reason, Stacktrace, NewDebug,
  	      S, [Event|Events])
      end.
  
  %%%==========================================================================
  