dogs and cats reuse animal class