updated string code style