Complete random_select model and popularity model