first modify tmp.c