cleanings and included the ballot among the parameters in the pseudocode
mention the ballot everywhere it is passed for completeness