rows and index vars added