Refactoring, still have an issue with being unable to added multiple instances of the pet object