moved before fold