while True: print gen.getValue() group.next();