anchor.diff:      {reply, Reply, StateName, State}.
   
   %%--------------------------------------------------------------------
  -%% Function: 
  +%% Function:
   %% handle_info(Info,StateName,State)-> {next_state, NextStateName, NextState}|
  -%%                                     {next_state, NextStateName, NextState, 
  +%%                                     {next_state, NextStateName, NextState,
   %%                                       Timeout} |
   %%                                     {stop, Reason, NewState}
   %% Description: This function is called by a gen_fsm when it receives any
  
positive.code:     {next_state, StateName, State}.
  
  %%--------------------------------------------------------------------
  %% Function: 
  %% handle_sync_event(Event, From, StateName, 
  %%                   State) -> {next_state, NextStateName, NextState} |
  %%                             {next_state, NextStateName, NextState, 
  %%                              Timeout} |
  %%                             {reply, Reply, NextStateName, NextState}|
  %%                             {reply, Reply, NextStateName, NextState, 
  %%                              Timeout} |
  %%                             {stop, Reason, NewState} |
  %%                             {stop, Reason, Reply, NewState}
  
negative.code: -behaviour(gen_fsm).
  
  %% API
  -export([start_link/0, token/1, start/1, stop/1]).
  
  %% gen_fsm callbacks
  -export([init/1, handle_event/3, initializing/2, waiting_check/2, started/2,
  