Added folding

Added folding.