refactoring for routing functions
refactoring for routing functions
Usage added