     {:noreply, Map.put(probes, name, probe)}
   end
 
-  def handle_cast(name, probes) do
+  def handle_cast({:unregister, name}, probes) do
     {:noreply, Map.delete(probes, name)}
   end
 

  def register(name, probe) do
    if genserver_running?() do
      if is_function(probe) do
        GenServer.cast(__MODULE__, {name, probe})
        :ok
      else
        Logger.debug(fn ->

  end

  def unregister(name) do
    GenServer.cast(__MODULE__, {:unregister, name})
    :ok
  end

