using environments chapter