added example for functions to readme