magic for peekToken