master process