New code for creation of $nameAndPercentageOfParties, which is needed for future form elements