end of chapter 13 - weird errors, can't figure out