Added multicore processing