added indexing to keywords