updated documentation for functions