finished chapter28
made minor changes