why not using has_key to do this key?