Revert "add fold"

This reverts commit 72011d836846369d852eb99d990a6d211d5b3002.