HW6. a part