setting for folding