adjusted key index