added index with query generator dropdowns