change dogAge to const