added thinning