added stupid implementation of `route`