worked on UI for the indexes