made Judge.run more efficient