in the middle of implementing index