added a child process wrapper