Sketch of decompose