package restruct