added folding params