Moved logic for dogs to partial.  Renamed from dog to dogs