we are just assuming that this matches the search path?  would it make more sense to return the match and use it explicitly?