make templating work???