work on hw2
more work on hw2