I have a 2010 Hyundai elantra. Two times in the last 3 months I was driving and for no reason at all my car would rev up and my speed would accelerate. In October this happened I was so scared that I quickly turned into a gas station and was hit by another vehicle. The next time it happened I was lucky on the road that wasn't busy and I was able to just take my foot off the gas until it returned to normal. After that I had no more issues until about 2 weeks ago. I was driving around 30 miles an hour when the engine just shuts down. But the power was still there. I honestly don't know how to explain it. first I tried pressing the gas pedal nothing happened no movement, no sound, nothing. So I put the car and park because it was still in drive. After that I tried restarting car and it sounded like it wanted to start but it wouldn't. Try it again nothing. thinking it was a bad connection to the battery I got out and checked battery and terminals. It looked fine and I had no way of testing so I had to push my vehicle out of the street. Luckily Two Gentlemen came over and help me push. Thinking still it was just the battery I called roadside assistance and someone from the company came and tried jump starting my car with no luck. I ended up having to get my car towed. Next day I tried starting with no luck. Try it again yesterday and it makes this fast ticking or clicking noise automatically before I even try to start it and it doesn't stop until I turn off the key. And the worst