corrected generator to check token length @ 8 instead of 6