removed has_key methods