Ch04 exercises