Modification of row numbers