hw 8 solution corrections