Homework #2 completed