more correct legend