Disecting of Chapter 07 code for a better understanding