Update proc.c

merging my proc.c