added MAG to the side legend.