added code for pic_master.c