Only one thread is needed