master has 3 processes
modify master.c