better selection logic