isToLowerCase flag added