simplified the execute method in CHClient

this version requires two fewer local variables, is shorter, and
(in my opinion at least) more readable.