added longest path