HW5 conversion