This entire function isn't needed anymore, but otherwise it's fine to pull