changed vote to be int[] instead of byte[]