Added method folding