voting ends conditional