add function for one election selection