hw 5 solution corrections