fixing the problem 10 bug and changing the document