launch thread as well