Basic template code added