some work on index