modification test2.c