enhancements to Path class