Using instances of Animal class.