anchor.diff:  -spec join_xnest(binary()) -> {ok, pid()}.
   join_xnest(XNestName) ->
   	{ok, XNestPid} = xnest_manager:get_xnest(XNestName),   %% I can know what format will be return by xnest_manager
  -	{ok, JoinResult} = xnest:join(Pid, self()),
  +	{ok, JoinResult} = xnest:join(XNestPid, self()),
   	send_welcome(self(), JoinResult),
   	{ok, XNestPid}.
   
   %% @doc send join message to client
   -spec send_welcome(pid(), binary()) -> any().
   send_welcome(SelfPid, WelcomeMsg) ->
  -	SelfPid ! {SelfPid, text, WelComeMsg}.
  +	SelfPid ! {SelfPid, text, WelcomeMsg}.
   	
   
  
positive.code: %% @private
  websocket_init(_TransportName, Req, _Opts) ->
  	{XNestName, NewReq} = parse_xnest_name(Req),
  	{ok, XNestPid, JoinResult} = join_xnest(XNestName),
  	State = #state{
  		xnest_name	= XNestName,
  		xnest_pid	= XNestPid
  
negative.code: -module(xchat_websocket_handler).
  %-include("lager.hrl").
  
  
  %% API
  
  
  %% websocket handler
  -export([init/3]).
  