working on index tab