added position tracking to token