add closure templates examples