added index for version