Made hasProblems() public to access it from other classes