general reference energy implemented