adding folding