staying on paths