Token generation, refs EMP-123