use path. instead of p.