completed chapter1 and chapter2.