modify multiprocessing