Setting the selection method