add index to keyword