distinct can take value from path