identifying route and direction