added legend and axis labels