change the name of the trait CaseConversionExpression to StringTransformationExpression and add a StringCalculationExpression for string calculation in stringOperation.scala , eg: trim is for transformation and length is for calculation