Add character position tracking