small tweaks to HEM example