working voting implementation, ~25% err
cleanup