initial change for storing data to storing indexes