.has_key() is deprecated