yet another try for HW3 2