cosmetic changes
new threading sample codes