['I was teaching my daughter to drive today when I got pulled over by the cops.', 'Oh no, was the cop understanding', 'not really.  He gave me a ticket for speeding and running a stop sign, in front of my daughter!']
Oh no, that is a mean thing to do
I was teaching my daughter to drive today.  In doing so, I got a speeding ticket.