post HW8 solution