progress on token generation