add index to the data col