use one thread by default