added temp.c