DONE. path extraction still sequential though