impl row_cells and col_cells