Just get some of those electrified pet barriers and set up a perimeter. Then affix the handy collar device to DS and his buddy if you are responsible for him as well. Voila! Problem solved. You can set the sensitivity of the device to deliver either a mild discomfort up to a spine-tingling jolt of reminder.