getPath for simple handling with locations