new set_row_format method