no more fold in inner loop