Updated 9 to generator expression