progress bar for sweeping
[#80] a little cleaning