Convert current misc. examples in Ch. 7 to new environment