Problem 6 documentation