code reorganization for voting