Tweaking HEX grammar...almost there!