more work on hw1.