added std method to showtoken