Added the find route function