simplify generator expression