The new threaded version