hw9 extended