temp code for close election