added fan_2.c