Implements basic voting