Problem 3 finish