token gen& sweeper