more fixes hartl ch.10