Homework 6 completed