The HW code