AddProblemDAO refactored