adding very basic templating