adds local-only deletion because array.splice is nonsensical and infuriating