back to selection logic