better syntax on gens