Homework 6 updated