Added NO_THREADS wrapper