add master.c