Finished chapter7.4