resolution for hw2.3