phew! done with another chapter 9 exercise