updated jumpnrun example to include regeneration and energy use