new version of the problem