create-token method done