changed legend