finished chapter4