set up party model