   end
 
   defp define_function_step(step_text, function) do
-    function_name = String.to_atom("step_" <> step_text)
+    function_name = step_name(step_text)
     quote do
       @string_steps @string_steps
        |> Dict.put(unquote(step_text), &__MODULE__.unquote(function_name)/2)

    end
  end

  defp regex_to_step_atom({:sigil_r, _, [{_, _, [string]}, _]}) do
    String.to_atom("regex_step_" <> string)
  end

end

  end

  defp define_block_step(step_text, block) do
    function_name = step_name(step_text)
    quote do
      @string_steps @string_steps
        |> Dict.put(unquote(step_text), &__MODULE__.unquote(function_name)/2)
