Converted HW1 to integrated checking