foreach byref