Finished voting logic