anchor.diff:  	end,
   	{reply, ok, State};
   
  +handle_call(getstats, _From, State = #state{max = Max}) ->
  +    Stats = [{total, ets:info(?TABLE, size)}, {max, Max}],
  +    {reply, Stats, State};
  +
   handle_call(_Request, _From, State) ->
       {reply, ok, State}.
   
   handle_cast({unregister, ClientId, Pid}, State) ->
  -	case ets:lookup(?TAB, ClientId) of
  +	case ets:lookup(?TABLE, ClientId) of
   	[{_, Pid, MRef}] ->
   		erlang:demonitor(MRef),
  -		ets:delete(?TAB, ClientId);
  +		ets:delete(?TABLE, ClientId);
   	[_] -> 
   		ignore;
   	[] ->
  
positive.code: 
  -define(SERVER, ?MODULE).
  
  -define(TAB, emqtt_client).
  
  %% ------------------------------------------------------------------
  %% API Function Exports
  
negative.code: -export([start_link/0]).
  
  -export([lookup/1, register/2, unregister/2]).
  
  -export([getstats/0]).
  
  %% ------------------------------------------------------------------
  %% gen_server Function Exports
  