add sampling and path highlighting