semi-working path planning