templating in quiz