vote functions completed