compiled the templates