Changes to legend