some refactoring, can send routing table request and receive the request.