hacky nested splices to reuse template