doc functions to readme