added index testing