 
   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 id_matcher(id, node, acc) do
    { _, attributes, _ } = node

    if attribute_match?(attributes, "id", id) do
      acc = [node|acc]
    end

    acc


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

    if tag == tag_name do
      acc = {:ok, [node|acc_nodes] }
    end

    acc
