add functions docs
more function docs