Modified Index() for search by string. TODO modify UI for search