Multicore version working