Reorganization of legends