If you put foo[0] here it will give you just the name of the animal - have a look at it in pry