Improves legend example