multiprocessing skeleton code.