added HW3.2 and HW3.3