implementing Path methods, p.3