working copy of interface, problem with potential energy (should be invoked outside)