getting voting working