prep for table re-writes