cut over some stuff to Path API