I am installing a pendant fixture for my niece, over her dining room table. The new fixture has a cord and a bare wire fed through the chain that hangs the fixture.I took down the old fixture. 3 wires present from outlet box in ceiling, black, white and bare. There are two wall switches that activate this light. I wired the new fixture black to stripped wire from cord, white to stripped wire from cord and bare to bare wire. It doesn't work. So I reattach the old fixture the same way. Now it doesn't work. HELP!! I have wired, re wired, and now am 5 hours into a simple project. What am I doing wrong?