Presence of mind helps solve even the trickiest of problems.