A man is training his dog to reward it for good behavior.