rename fold -> foldi