completed Assignment 1 Part 2