While going to the class ---------------.

Answer: 

I was bitten by a dog

While going to the class ---------------.