added folding