simplifying paths
simplifying paths