new data with index variable