Added Fan controll code