Editted Assignment 4