sample the path tobe followed