The dog is doing tricks for his master.