restructured database