modified chapter5