took out multiprocessing, too much to debug for now