addLegend returns newly added legend