it was almost nine o'clock and they had managed to work out the details on the judge 's sponsorship at the surf festival , discuss a moot court for which they had volunteered , polish off most of a large pizza , and now josie was trying to take advantage of the situation by putting in a pitch for leniency for one of her clients .