split into two processes