check first for selected items