Yesterday while riding the bike suddenly died while on road between sections.Had plenty of fuel.I removed tank and looked for loose wire and pulled out spark plug.No spark, so i disconnected kill switch from,cdi and the bike fired up,plugged kill switch back in bike kept running but decided to leave disconnected anyway and taped up.Did one more section then after 5 mins roadwork it died again.Put it on the back of car and took it home where it fired up again.Idled in garage for 5 mins no problems.Where should i look first coil or stator?It seems to be when its getting hot?