removed child process exit. need to refactor docco