How does route history work?