updated processfactory