added index query scope