chapter4 and chapter7 finised