added token fetching.