updated token code

the other code is java code from my clite project in cnc