modify chapter7