insert legend.