modified index to include search