Reworked voting, but not fully working yet.