I had to change the switch going to my ceiling fan, because it shorted and the fan and light were on the same which. On the switch the fan and light switches are variable and the wires comming from the switch are black for the input 115 vac a red wire for the light and a yellow for the fan. I ran a extra electrical wire (yellow) for the fan. Now I want to wire the fan. The black wire to the switch (ac power) the yellow wire to the fan, but what wires do I use in the fan and light connections?