chapter5 examples