Adding multiprocessing feature