Got it thanks, black wire was ground. I tersted the wires on the main terminal and connected the yellow to yellow an d white to white the third wire was for the park lights. Truck all back together again and running. Thanks all I was all twisted, never try yo fix electric when your tired.