add folding