-add voting method and move stuff of constructor