add func : next_problem