More explicitly dictate the parameters of Dog.java