Implement basic functionality for voting