A smart dog is getting trained by his owner