add multi-process framework