legend improvement