fix cut and paste error
exercises from chap 7