Updated Homework6