small changes to voter function