Fixed Homework 4