Move `appendPath` from the previous line down?