corrected the problem definition