Added a legend in the top left