add rowIndexvar