anchor.diff:  
   -record(state, { monitoring }).
   -define(SERVER, ?MODULE).
  +-define(TAB, etorrent_piece_tbl).
   -ignore_xref([{'start_link', 0}]).
   %%====================================================================
   %% API
  
positive.code: %% Description: Is the piece interesting?
  %%--------------------------------------------------------------------
  interesting(Id, Pn) when is_integer(Id) ->
      [P] = ets:lookup(etorrent_piece_tbl, {Id, Pn}),
      P#piece.state =/= fetched.
  
  %% Search an iterator for a not_fetched piece. Return the #piece
  
negative.code: handle_call({add_pieces, Id, Pieces}, _From, S) ->
      lists:foreach(
        fun({PN, Hash, Files, State}) ->
                ets:insert(?TAB,
                           #piece { idpn = {Id, PN},
                                    id = Id,
                                    piece_number = PN,
  