trying to get (nested) templating working