More multiprocessing stuff. needs testing