foreach imp