new version of the problem statement