auto route discovery stuff