How to plumb yourself out of trouble