added ma line legend