I was cleaning my kitchen one day.
After a few hours, the police arrived at my door with my dog.
When I opened the door to take out the garbage my cat got out.
When I opened the door to take out the garbage my dog got out.