class for child process