   def get_doc(module, function, arity) when is_atom(module) and is_atom(function) and is_integer(arity) do
     docs = Ehelper.Erlman.get_docs(module, :docs)
     case docs do
-      nil -> { :not_found, [{ "#{inspect module}.#{function}/#{arity}", "No documentation for #{inspect module}.#{function} found\n"}] }
+      nil -> { :not_found, [{ "#{inspect module}.#{function}/#{arity}",  nodoc(module, function, arity)}] }
       _   -> find_doc(docs, module, function, arity)
     end
   end

  def get_doc(module, function) when is_atom(module) and is_atom(function) do
    docs = Ehelper.Erlman.get_docs(module, :docs)
    case docs do
      nil -> { :not_found, [{ "#{inspect module}.#{function}", "No documentation for #{inspect module}.#{function} found\n"}] }
      _   -> find_doc(docs, module, function)
    end
  end

  def find_doc(docs, module ,function) do
    doc_list = docs |> Enum.filter( fn(x) -> match_function(x, function) end )
    case doc_list do
      [] -> maybe(module, function)
      _  -> { :found, get_docstrings(doc_list, module) }
    end
  end
