Add random select and near select method