In Minnesota we have a hybrid system where you fill out a paper ballot. The then you feed it through a scanner that indicates that it counted your vote, counts it, and it rolls into a locked box.
The machine and ballots are tied together right there. I really like the system as if all else fails you can get a paper trail and I belive even ID machines.