add support for fold all partitions