added a possible path(location) function