Updated Problem 20 Solution