Revised HW#6