added path helper functions