added string optimizer
added optimizer to scoring func. added group level pass