still working on index