In hybrid electric vehicles, like the Toyota Prius, engine braking is simulated by the computer software to match the feel of a traditional automatic transmission. For long downhill runs, the "B" mode acts like a lower gear, using the higher RPM of the internal combustion engine to waste energy, preventing the battery from being overcharged. Almost all electric and hybrid vehicles are able to convert kinetic motion into electricity, i.e. regenerative brakes, but since the internal combustion engine is not used to slow the vehicle when using regenerative braking, it is not the same as engine braking.