anchor.diff:          %% Remove ourselves from databases and die
           region:del_unit(),
           exit(zapped);
  -    {cast,From,attack} ->
  -        %%  logging unused variable!
  -        lager:warning("unit attack from? ~p \n", [From]),
  -        {_,_} = luerl:call_function([this_unit,attack], [], State0),
  -        timer:sleep(1500),
  -        %% Remove ourselves from databases and die
  -        region:del_unit(),
  -        exit(zapped);
  -%% return, spell, build, cancel, repair, stop, hold, attack
  +    {cast,From,return} ->
  +        %%  logging unused variable!
  +        lager:warning("unit return from? ~p \n", [From]),
  +        {_,_} = luerl:call_function([this_unit,return], [], State0),
  +        timer:sleep(1500),
  +        %% Remove ourselves from databases and die
  +        region:del_unit(),
  +        exit(returned);
  +%% repair, stop, hold, attack
       {cast,From,move} ->
           %%  logging unused variable!
           lager:warning("unit move from? ~p \n", [From]),
  
positive.code: -module(unit).
  
  -export([start/3,start_link/3]).
  -export([init/3]).
  
negative.code:     cast(Unit, rally).
  
  patrol(Unit) ->
      cast(Unit, patrol).
  
  gather(Unit) ->
      cast(Unit, gather).
  