Distributor curving.

Did my friends 340 tonight we have 37 total with 16 initial. This really woke his motor up, when he left of the gas on test drive it backfires, could we have a loose wire to dizzy or possibly bad rotor witch didnt fit quite right when it can off and went back on? no problems before we started, just lazy.