Reconfigured printPath