pg220 excercises - need to fix assertion