added path functions