Adding the ability to add a template