finally got pathing to work