implementing mapping feature of Routing Component