For this method (and the one above), while they work in the terminal, the reason they are not passing the specs is because the entire hash is being returned at the end instead of one long string.

There are a few different ways you could return the long string of info. A couple solutions I've seen are   

```ruby
animals_str = ""
animals.each do |name, animal|
   animals_str += animal.to_s + "\n"
end
print animals_str.chomp
```

or  

`animals.values.join("\n")`