Now working no matter how many processes