A dog lay on the bed, wagging its tail and barking.