The other day I was at the gym
He apologized and I thanked him for doing so.
While I was dressing a man walked into the dressing room accidentally.
While I was dressing a man walked into the emergency room.