You decided to wait for the next train, reasoning with yourself that it was only five minutes and was not the end of the world.
After a couple minutes, you walk a little closer to the yellow line and strain your head to see if there are train lights coming to a close.
You don't, but you end up losing your footing and fall into the tracks. Now you see the train lights coming.