adding token method