was using key rather than array keyPath