block and non block foreachs.