changed scope of tokenid