generated model vote