examples for sections 6 to 8