3: simplify token recognition