HW3 / part 1.  Attempt 1