         response
       {:ok, _} ->
         PingClient.begin_pings(node_id)
-        log_command_executed(node_id, :begin_pings, :ready)
 
         next_status = :pinging
         set_status(node_id, state_agent, :ready, next_status)

  end

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

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

    end)
    |> (fn nil_statuses -> Enum.count(nil_statuses) == 0 end).()

    if ready? do
      set_status(node_id, state_agent, :just_started, :get_ready)
      {:reply, :ok, {:ready, state_agent, node_id}}
