added changes to get a new template added