added kinetic energy and local action
there, implemented physics