Election Manager code