Adding multithreading and reference non required