debug method print folds added