In the United States, California cities such as Oakland and San Francisco administer IRV elections on voting machines, with optical scanning machines recording preferences and software tallying the IRV algorithm.[28] Cary, North Carolina's pilot program in 2007 tallied first choices on optical scan equipment at the polls and then used a central hand-count for the IRV tally.[29] Portland, Maine in