Problem generator