add a bit of fault tolerance
make election ids int