finalized hw3