thinning version 0.4