Export foreach