genericised some paths