add dog functionality