changed hiding threads mechanism v3