basic voting and card management