Goldilocks procedure