Implemented getPath