Modified proc.c