added colors to legend