passing around token and name