finished templating