finalizing pathing