genericised Path representation