Added function so that i can get the problems for display to the screen.