He is a smart dog