deleted unneeded code on words/index