finished proc.c