improve adding thread output