added function to readme.