My kitchen has a ceiling fixture that at one time was a fan/light combination-now just a light fixture. We are trying to replace the fixture. Unfortunately when the fixture was removed to replace the balast we did not code the wires. This is an older home-all the wires are black. In the box there are three 'holes' that wires come from. One hole has three wires, the other two have two wires each. One set of wires (one from each box)is capped with a wire cap leaving one wire from each of two boxes and two wires from the third box. My question: which wires do we use for the fixture which has a black, a white, and a green wire; and what do we do with the extra wire?