At one point during the writing of "Jim Button" the plot reached a dead end. Jim and Luke were stuck among black rocks and their tank engine couldn't go any further. Ende was at a loss to think of a way out of the adventure, but cutting the episode struck him as disingenuous. Three weeks later he was about to shelve the novel when suddenly he had an idea—the steam from the tank engine could freeze and cover the rocks in snow, thus saving his characters from their scrape. "In my case, writing is primarily a question of patience," he once commented.