anchor.diff:  -include("lasp.hrl").
   
   %% State record.
  --record(state, {actor, impressions}).
  +-record(state, {actor, impressions, triggers}).
   
   %%%===================================================================
   %%% API
  
positive.code:             %% Spawn a process to disable the advertisement if it goes
              %% above the maximum number of impressions.
              %%
              %% @todo Not optimal at all because it spawns a ton of
              %% processes, but good enough for now.  Fix me before merge.
              %%
              case lasp_config:get(heavy_client, false) of
                  true ->
                      spawn_link(fun() -> trigger(Ad, Actor) end);
                  false ->
                      ok
              end,
  
              %% Increment counter.
              {ok, _} = lasp:update(Counter, increment, Actor),
  
              %% Increment impressions.
              Impressions0 + 1
      end,
  
      %% - If I did nothing (`Impressions0 == Impressions1`),
  
negative.code: 
      {noreply, State};
  
  handle_info(view, #state{actor=Actor,
                           impressions=Impressions0,
                           triggers=Triggers0}=State) ->
      %% Get current value of the list of advertisements.
      {ok, Ads} = lasp:query(?ADS_WITH_CONTRACTS),
  
      %% Make sure we have ads...
      {Impressions1, Triggers1} = case sets:size(Ads) of
          0 ->
              %% Do nothing.
              {Impressions0, Triggers0};
          Size ->
              %% Select random.
              Random = lasp_support:puniform(Size),
  