remove multiprocessing code