added legend, x and y-axis, etc.