voting is done in the background.