Dogs can guard houses