revised structure with foundations