new legend and text changes