cleanup bookkeeping