Chapter 6 stuff before doing assignments