Implemented tour function.
Implemented tour function.