Implement routing.

add space between ; and i++.