CC Gadget and extensions