excdes_new.c new selection logic