Implemented path walking