had now and then tried to imagine the circumstances of his declaration , in situations ranging from the vaingloriously heroic to the openly dangerous , but as usual in such matters , god 's sense of humor trumped all imagination .