Added extra data to the legend