finished the problem