implemented the routing logic, now need to implement the route binding code