Design the legend