changed name of data to exampledata
fixed up legend