Reviewed multiprocessing structure, simplified code