Broke out some variables so that they can be examined in the debugger.