re-arranged the way tables are related to each other in their deep structure.