fixed #12 in the HW