Passage: Last night , I went out to a nightclub . I stayed until 4 am , when the club closed down for the night . I do not live within walking distance , so my transportation choices were to take the train or to take a taxi cab . I decided to take a taxi . I stood outside of the club and held out my hand so I could flag down one of the taxis driving by . I opened the door and asked the driver if he was available to drive me to my neighborhood . He replied yes . I got into the backseat of the taxi . I said yes and proceeded to give the driver directions on how to get to my apartment building . The drive took about 15 minutes . Once we arrived , I paid the taxi driver and went inside to my apartment . Question: When did a taxi stop for them? Option1: When they flagged it down Option2: On the way to the nightclub.
When they flagged it down