Implemented recreateStructures()