updating stringcalculator example