added threads convinient method on client