Homework 3 completed