some basic documentation for functions