Problem 2 partial