print all the path