library reorganization