you only need one thread