added search to index