finish chap1 & 2