On a problem of potential wells.