Start implementing votes
Reimplement functions after getaddr fix