anchor.diff:        fun(N)->
   	      Member = pg2:get_members(N),
   	      case Member of
  -		  [Pid] -> Pid ! {jiffy:encode({[{status,200},{msg,Msg}]})};
  -		  {error,_}->self()!{jiffy:encode({[{status,404}]})}
  +		  [Pid] -> Pid ! {send,Msg};
  +		  {error,_}->self()!{error,un_availaible}
   	      end
         end,To);
   
  
positive.code: deliver_message(To,Msg)-> 
      Member = pg2:get_members(To),
      case Member of
  	[Pid]-> Pid ! {jiffy:encode({[{status,200},{msg,Msg}]})};
  	{error,_}->self()!{jiffy:encode({[{status,404}]})}
      end.
  
  
  
negative.code: subscribe(To,Channels) when  is_list(Channels)-> 
      Member = pg2:get_members(To),
      case Member of
  	[To|_]-> lists:foreach(fun(N)->pg2:join(N) end),
  		  self()!subscribed;
  	{error,_}-> self()!error
      end;
  subscribe(To,Channel) ->ok.
  
  