cant get selection to work