work on Thinning