add print path function for walker