It ain't pretty but it saves and retrieves votes, and can calculate results.