added template functions to readme