     GenServer.cast(server, {:del_node, node})
   end
 
-  def all(server) , do: GenServer.call(server, :get_all)
+  def all(server), do: GenServer.call(server, :get_all)
   def up(server), do: GenServer.call(server, :get_up)
 
   # classic GenServer callbacks
-  def handle_call(:get_all, _, ring) do
-    {:reply, get_set(ring.node_set), ring}
-  end
+  def handle_call(:get_all, _, ring), do: {:reply, get_set(ring.node_set), ring}
   def handle_call(:get_up, _, ring) do
     {:reply, MapSet.to_list(ring.up_set), ring}
   end
-  def handle_call(:get_ring, _, ring) do
-    {:reply, {:ok, ring}, ring}
-  end
+  def handle_call(:get_ring, _, ring), do: {:reply, {:ok, ring}, ring}
   def handle_call(other, from, ring) do
     payload = ring.payload
     up_load = fn(load) -> update_payload(ring, load) end

    end
  end

  defp notify_up_set(set, set, old_up) do
    MapSet.new(old_up)
  end
  defp notify_up_set(old_set, merged_set, old_up) do
    new_up = MapSet.difference(MapSet.new(merged_set), MapSet.new(old_set))
    Enum.each(new_up, fn(n) -> Node.monitor(n, :true) end)

    end
  end
end

