How to write yourself out of a dead end