add an option to output the problem