setup for multiproc