debug token adding method