begin folding