Add chapter5d sample