Added type to votes