DeleteTemplate Funcionality - still in progress