Multithreading for newbler