Added my changes that allow for long walks instead of just int walks