Read it through once
In the same way, when he turned his eyes towards the judge, his mind began to busy itself with the fashion of his dress, and what it cost, and how he put it on. There was an old fat gentleman on the bench, too, who had gone out, some half an hour before, and now come back. He wondered within himself whether this man had been to get his dinner, what he had had, and where he had had it; and pursued this train of careless thought until some new object caught his eye and roused another.