changed haskey