dir for thinning added
directory renamed
1. working version