Completion of chapters 1,2 and some of 3