finished ch 17
bug fix