anchor.diff:  
   get_tables(Pid) ->
       {ok, Tables} = admin:list_avail_tables(),
  -    Pid ! {tables, Tables}.
  +    Msg = case maps:size(Tables) of
  +	      0 -> {tables};
  +	      _ -> {tables, Tables}
  +	  end,
  +    Pid ! Msg.
   
   decode_card(Binary) when is_binary(Binary) ->
       list_to_atom(binary_to_list(Binary));
  
positive.code:     lager:info("WS info ~p ~n",[Msg]),
      {reply, {text, jsx:encode(transform(Msg))}, Req, waiting_state(Msg, State)}.
  
  websocket_terminate(Reason, _Req, State) ->
          lager:info("WS TERMINATE ~p ~p~n",[Reason, State]),
  	ok.
  
  waiting_state({prompt, _} = Msg, {joined, Pid, _, _, _}) ->
      Ref = make_ref(),
  
negative.code: handle(_, S) ->
      {{error, illegal_state}, S}.
  
  new_state({ok}, {joined, TablePid, _, _}) ->
      {joined, TablePid, false, 0, empty};
  new_state(_, S) ->
  