add child process for patterns