ref guided diversity [ci skip]