See this clever canine master a new trick