hw2 full working