added index on _key