add looper per thread