updated homework 2