checkSelection