define dependent action on paths