modified animals.rb