started work on chapter 5 and added more design notes