avoided copy of future in for each loop, compiles, but aborts at runtime