adding final template