more updates to chapter4