bathroom vent wiring
i have removed my old bathroom vent/fan/light. the roof had a leak above it and it had quit working. when i went to reconnect the new vent.the wiring was differet. the way my bathroom was working prior to removal was as this: vanity light comes on and vent light comes on with 1 wall switch. second switch turned on vent fan and vent light.i have 2 seperate sections of wires coming from the ceiling. one is 2 wires. the second in 3 wires. my vent fan has 4. i have an extra white and extra black wire.i have done alot of wiring fans, etc without difficulty till now. any suggestions.