adding documentation for functions