How to create the electrical circuit to get the fan to work