is row() actually used? very similar stuff seems to be open-coded below.