g1: plain
g2: with pinned column p