moved createvotingpool to setup