adding path shortening