27. I was sleeping as soon as / when the phone rang.
28. I turned on the light until / as soon as I arrived.
29. She ran to the police station until / after she saw the thief.
30. Please turn off the computer after / when you leave.
31. She made dinner when / then she took the dog for a walk.