replace load with number of processes