Quad code