Added another part of Chap 6