Random-selection method