nearly completed hw2