some optimize.