Problem 22 complete