pad: store the received result from _foreach