working on GetNextToken