modify 1001.c