mod search(store at index)