updated homework 5