added index to version