Corrected HW6