Method getProblem now covers wider target cases