My character is in the beginning stages of a life-or-death situation and he knows it. "Racking his brain for possible solutions" feels played out. But words like ruminating, fretting, musing, etc don't sound frantic enough. Does anyone have any ideas on how they would right it? The more synonyms the better.