cosmetic change + debug info
use thread