tweaks to eval exercise function