updated freenrg example