add unique path solution.