Use index based numbering for x and y vars