generator of problem