add global word index