added getCurrentRoute method