The dog was in the kitchen begging for scraps