naively works also the vertex output