Route detection implemented