using haskey?
syntax for has_key