further work on index