move temp.c into server.c