Trying to make templating work