more work on HW4. progress.