added functionality to routing methods