#flexible generation