add to tmp.c