This pup figured it out!