adding vote framework