added legend on y-axis