finish hw3, and clean up dependencies