rating model and cupcake model setup