 
   defp class_matcher(class_name, node, acc) do
     { _, attributes, _ } = node
+    { :ok, acc_nodes } = acc
 
     if attribute_match?(attributes, "class", class_name) do
-      acc = [node|acc]
+      acc = {:ok, [node|acc_nodes] }
     end
 
     acc


  defp tag_matcher(tag_name, node, acc) do
    { tag, _, _ } = node

    if tag == tag_name do
     acc = [node|acc]
    end

    acc


  defp find_by_selector(_selector, {}, _, acc), do: acc
  defp find_by_selector(_selector, [], _, acc), do: acc
  defp find_by_selector(_selector, _, _, {:done, nodes}), do: {:done, nodes}
  defp find_by_selector(_selector, tree, _, acc) when is_binary(tree), do: acc
  defp find_by_selector(selector, [h|t], matcher, acc) do
    acc = find_by_selector(selector, h, matcher, acc)
