Add a dog listener

Hey Josh- 

I really like your cool code.  I made some changes i hope you'll consider.