implemented preselected handling