Added "Smart-Routing" Function for comparison