Add initial selection logic.