add word editor
add index method for words