extract vote to module