finally done hw3