tweaked e_karling/e_hre stuff