simple folding. no custom functions.