pathtree: operations