updated chapter4