Achieving harmony between people and dogs