end of the template