   end
 
   def log_command_and_get_process(node_id, command, name, {status, state_agent, node_id}) do
-    log_command_received(node_id, command, status)
     case Process.whereis(name) do
       nil ->
         message = "#{node_id} - ignored #{command}: #{name} isn't running"

  end

  def handle_call(:get_ready, _, {:just_started, state_agent, node_id}) do
    log_command_received(node_id, :get_ready, :just_started)
    names = [
      Connections.get_name(node_id),
      Coordinate.get_name(node_id),

  end

  def handle_call({:configure_and_run, config}, _, {:not_started, state_agent, node_id}) do
    Agent.update(state_agent, fn {status, _} -> {status, config} end)
    spawn_algo_sup(config)

    next_status = :just_started
    set_status(node_id, state_agent, :not_started, next_status)
