light coding to Mode::find (some conditions)