renaming: folding to foldingphase