I have a switch in my bedroom that powers an outlet, it has one back wire and one white wire coming to it. I installed a ceiling fan in the bedroom and ran wiring to this switch to power the fan. I thought I could just splice the two blacks together and the two whites together and then ponytail a white and a black to the switch and it would power the outlet and the fan... When I turned the switch on the outlet had power but not the fan.. When I turned the switch off the fan had power? All blacks were together and all whites were together... Where did I go wrong?